<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
<link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet" />
<style type="text/css">
#myTable tr td {
	vertical-align: middle;
}
</style>
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 0px;">
		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">
				<div class="widget-header bg-themeprimary">
					<span class="widget-caption">网络硬盘设置</span>
				</div>
				<div class="widget-body">
					<div id="registration-form">
						<form role="form">
							<div class="form-title">网络硬盘列表</div>
							<div class="row">
								<div class="col-md-12">
									<div class="buttons-preview" id="toobar">
										<a href="javascript:void(0);" onclick="doadd();" class="btn btn-azure">创建网络硬盘</a>
									</div>
									<table id="myTable"></table>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
<div class="modal fade bs-example-modal-lg" id="setnetdisk" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
	<div class="modal-dialog">
		<div class="modal-content">

			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" id="myLargeModalLabel">网盘设置</h4>
			</div>
			<div class="modal-body">
				<form class="form-horizontal form-bordered" role="form" id="form1">
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">排序号：</label>
						<div class="col-sm-9">
							<input type="number" class="form-control" name="sortNo" id="sortNo" placeholder="排序号"> <input type="hidden" class="form-control" name="netDiskId" id="netDiskId" placeholder="排序号">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">网络硬盘名称：</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" id="netDiskName" name="netDiskName" placeholder="网络硬盘名称">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">服务器目录：</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" id="rootPath" name="rootPath" placeholder="服务器目录">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">硬盘容量：</label>
						<div class="col-sm-8">
							<input type="number" class="form-control" id="spaceLimit" name="spaceLimit" placeholder="硬盘容量">
						</div>
						<div class="col-sm-1" style="line-height: 34px">GB</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">排序对象：</label>
						<div class="col-sm-9">
							<select class="form-control" id="orderBy" name="orderBy" style="border-radius: 0px">
								<option value="0">文件名称</option>
								<option value="1">修改时间</option>
								<option value="2">文件大小</option>
								<option value="3">项目类型</option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right">排序方式：</label>
						<div class="col-sm-9">
							<select class="form-control" id="ascOrDesc" name="ascOrDesc" style="border-radius: 0px">
								<option value="0">升序</option>
								<option value="1">降序</option>
							</select>
						</div>
					</div>
				</form>

			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-warning" data-dismiss="modal">取消</button>
				<button type="button" class="btn btn-primary js-save">保存</button>
			</div>
		</div>
		<!-- /.modal-content -->
	</div>
	<!-- /.modal-dialog -->
</div>



<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;" id="netDiskPrivModal">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" id="myLargeModalLabel">硬盘权限设置</h4>
			</div>
			<div class="modal-body" style="padding: 0px;">
				<div class="widget flat radius-bordered" style="margin: 0px;">
					<div class="widget-body" style="margin: 0px; padding: 0px;">
						<div class="widget-main ">
							<div class="tabbable">
								<ul class="nav nav-tabs tabs-flat" id="myTab11">
									<li class="active"><a data-toggle="tab" href="#accesspriv"> 访问权限 </a></li>
									<li><a data-toggle="tab" href="#createpriv"> 新建权限 </a></li>
									<li><a data-toggle="tab" href="#downpriv"> 下载权限 </a></li>
									<li><a data-toggle="tab" href="#managepriv"> 管理权限 </a></li>
									<li><a data-toggle="tab" href="#allpriv"> 批量设置 </a></li>
								</ul>
								<div class="tab-content tabs-flat">
									<div id="accesspriv" class="tab-pane in active">
										<form class="form-horizontal form-bordered" id="from1">
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">人员账号：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="accessUser" name="accessUser" placeholder="人员账号" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="accessUser" onclick="selectUser(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">用户部门：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="accessDept" name="accessDept" placeholder="用户部门" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="accessDept" onclick="selectDept(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">行政级别：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="accessLeave" name="accessLeave" placeholder="行政级别" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="accessLeave" onclick="selectUserLevel(this,'true');">选择</a>
													</div>
												</div>
											</div>
										</form>
									</div>
									<div id="downpriv" class="tab-pane">
										<form class="form-horizontal form-bordered" id="from1">
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">人员账号：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="downUser" name="downUser" placeholder="人员账号" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="downUser" onclick="selectUser(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">用户部门：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="downDept" name="downDept" placeholder="用户部门" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="downDept" onclick="selectDept(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">行政级别：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="downLeave" name="downLeave" placeholder="行政级别" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="downLeave" onclick="selectUserLevel(this,'true');">选择</a>
													</div>
												</div>
											</div>
										</form>
									</div>
									<div id="managepriv" class="tab-pane">
										<form class="form-horizontal form-bordered" id="from1">
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">人员账号：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="manageUser" name="manageUser" placeholder="人员账号" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="manageUser" onclick="selectUser(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">用户部门：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="manageDept" name="manageDept" placeholder="用户部门" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="manageDept" onclick="selectDept(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">行政级别：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="manageLeave" name="manageLeave" placeholder="行政级别" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="manageLeave" onclick="selectUserLevel(this,'true');">选择</a>
													</div>
												</div>
											</div>
										</form>
									</div>
									<div id="createpriv" class="tab-pane">
										<form class="form-horizontal form-bordered" id="from1">
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">人员账号：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="createUser" name="createUser" placeholder="人员账号" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="createUser" onclick="selectUser(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">用户部门：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="createDept" name="createDept" placeholder="用户部门" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="createDept" onclick="selectDept(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">行政级别：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="createLeave" name="createLeave" placeholder="行政级别" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="createLeave" onclick="selectUserLevel(this,'true');">选择</a>
													</div>
												</div>
											</div>
										</form>
									</div>
									<div id="allpriv" class="tab-pane">
										<form class="form-horizontal form-bordered" id="from1">
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">人员账号：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="user" name="user" placeholder="人员账号" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="user" onclick="selectUser(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">用户部门：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="dept" name="dept" placeholder="用户部门" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="dept" onclick="selectDept(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">行政级别：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="col-md-10">
														<textarea id="leave" name="leave" placeholder="行政级别" class="form-control" readonly="readonly"></textarea>
													</div>
													<div class="col-md-2">
														<a class="selectbutton" opt-id="leave" onclick="selectUserLevel(this,'true');">选择</a>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">选择范围：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="checkbox">
														<label> <input type="checkbox" checked="checked" name="range" value="1"> <span class="text">访问权限</span>
														</label> <label> <input type="checkbox" checked="checked" name="range" value="2"> <span class="text">下载/打印权限</span>
														</label> <label> <input type="checkbox" checked="checked" name="range" value="3"> <span class="text">管理权限</span>
														</label> <label> <input type="checkbox" checked="checked" name="range" value="4"> <span class="text">新建权限</span>
														</label>
													</div>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label no-padding-right">操作方式：</label>
												<div class="col-sm-10" style="padding-left: 0px">
													<div class="radio">
														<label> <input name="optType" type="radio" value="0" checked="checked"> <span class="text">更新权限 </span>
														</label> <label> <input name="optType" type="radio" value="1"> <span class="text">添加权限 </span>
														</label> <label> <input name="optType" type="radio" value="2"> <span class="text">移除权限 </span>
														</label>
													</div>
												</div>
											</div>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button type="button" class="btn btn-default js-setprivbtn">确定</button>
			</div>
		</div>
		<!-- /.modal-content -->
	</div>
	<!-- /.modal-dialog -->
</div>
<div id="orgselectdiv"></div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script src="/module/bootstrap-table/bootstrap-table.js"></script>
<script src="/module/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script src="/gobal/js/page/file/netdiskset.js"></script>
</html>